#ifndef HOTBLOG_H
#define HOTBLOG_H

#include <QObject>
#include <QWidget>
#include <QMouseEvent>
#include <QString>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QSpacerItem>
#include <QLabel>


class HotBlog : public QWidget
{
    Q_OBJECT
public:
    explicit HotBlog(QWidget *parent = nullptr);
    ~HotBlog();
    void  addItem(QString title);
    bool eventFilter(QObject *obj, QEvent *event);
    QList<QLabel *> labelList;
private:
    QVBoxLayout *vLayout;
signals:
    void labelClicked(QString title);
};

#endif // HOTBLOG_H
